home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 26 / Mac Magazin and MacEasy Magazine CD - Issue 26.iso / Wissenschaft & Technik / TimGA 1.1 ƒ / Graphs / (2) Bigger graphs / 13 - Triangular Grid < prev    next >
Text File  |  1995-08-05  |  606b  |  76 lines

  1.  
  2. |V|:    28        // Number of nodes
  3. |E|:    63        // Number of edges
  4.  
  5.     1    2        // Edges are represented as pairs of node numbers...
  6.     1    3
  7.             2    3
  8.  
  9.     2    4
  10.     2    5
  11.     3    5
  12.     3    6
  13.             4    5
  14.             5    6
  15.  
  16.     4    7
  17.     4    8
  18.     5    8
  19.     5    9
  20.     6    9
  21.     6    10
  22.             7    8
  23.             8    9
  24.             9    10
  25.         
  26.     7    11
  27.     7    12
  28.     8    12
  29.     8    13
  30.     9    13
  31.     9    14
  32.     10    14
  33.     10    15
  34.             11    12
  35.             12    13
  36.             13    14
  37.             14    15
  38.             
  39.     11    16
  40.     11    17
  41.     12    17
  42.     12    18
  43.     13    18
  44.     13    19
  45.     14    19
  46.     14    20
  47.     15    20
  48.     15    21
  49.             16    17
  50.             17    18
  51.             18    19
  52.             19    20
  53.             20    21
  54.             
  55.     16    22
  56.     16    23
  57.     17    23
  58.     17    24
  59.     18    24
  60.     18    25
  61.     19    25
  62.     19    26
  63.     20    26
  64.     20    27
  65.     21    27
  66.     21    28
  67.             22    23
  68.             23    24
  69.             24    25
  70.             25    26
  71.             26    27
  72.             27    28
  73.  
  74. ---
  75. This graph is a triangular grid.
  76.